package com.feicheng.lanniao.controller.pc;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.feicheng.lanniao.result.ResultInfo;
import com.feicheng.lanniao.service.ICarRentalPriceService;

/**
 * <p>
 * 前端控制器
 * </p>
 *
 * @author feichengTech
 * @since 2021-09-07
 */
@RestController
@RequestMapping("/lanniao-user/car-rental-price")
public class CarRentalPricePcController {
	@Autowired
	private ICarRentalPriceService iCarRentalPriceService;
	@GetMapping("/list")
	public ResultInfo getCarRentalPrice() {
		return ResultInfo.success(iCarRentalPriceService.list());
	}

}
